<?xml version='1.0' encoding='windows-1252' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
    </h:head>
    <h:body>
        <img src="img/logo.png" width="87" height="65" align="right"/>
        <h1 align="center">SISTEMA DE SOLICITUDES ESTUDIANTILES</h1>
        <div id="logoutD" align="right">
            <h:form rendered="#{loginBean.isLogged}">
                <h:commandLink id="logoutLink"  action="#{loginBean.doLogout}">
                    <h:outputText value="cerrar sesion" />
                </h:commandLink>
            </h:form>
        </div>
        <div id="userDataD" align="left">
            <h:panelGrid id="adminUserPG" columns="2" rendered="#{loginBean.isLogged}">
                <h:outputLabel>Nombre de usuario:</h:outputLabel>
                <h:outputLabel id="nameIT" value="#{loginBean.userName}"/>
                <h:outputLabel>Rol:</h:outputLabel>
                <h:outputLabel id="documentIT" value="#{loginBean.rolName}"/>
            </h:panelGrid>
        </div>
    </h:body>
</html>

